<include file="Public/frame-header" />
</head>
<body class="J_scroll_fixed" style="min-width:800px;">
<div class="wrap J_check_wrap">
	<ul class="nav nav-tabs">
	   <li class="active"><a href="{:U('/Admin/User/index')}">用户列表</a></li>
	</ul>
	<form class="well form-search" method="get" action="{:U('/Admin/User/index')}">
		<div class="search_type cc mb10">
			<div class="mb10">
				<span class="mr20">分类： 
					OpenID： <input type="text" name="openid" value="" style="width: 200px;" placeholder="OpenID"> &nbsp;&nbsp;
					用户编号： <input type="text" name="user_id" value="" style="width: 200px;" placeholder="用户编号"> &nbsp;&nbsp;
					手机号： <input type="text" name="mobile" value="" style="width: 200px;" placeholder="手机号"> &nbsp;&nbsp;
					<input type="submit" class="btn btn-primary" value="搜索">
				</span>
			</div>
		</div>
	</form>
	<form class="J_ajaxForm" action="" method="post">
<!-- 		<div class="table-actions"> -->
<!-- 			<button class="btn btn-primary btn-small J_ajax_submit_btn" type="submit"  -->
<!-- 			data-action="{:U('/Admin/User/delete')}" data-subcheck="true" data-msg="你确定删除吗？">删除</button> -->
<!-- 		</div> -->
		<table class="table table-hover table-bordered table-list">
			<thead>
				<tr>
<!-- 					<th width="15"><label><input type="checkbox" class="J_check_all" data-direction="x" data-checklist="J_check_x"></label></th> -->
					<th>用户编号</th>
					<th>用户OpenId</th>
					<th>用户名</th>
					<th>手机号</th>
					<th>个人头像</th>
					<th>绑定城市</th>
					<th>注册时间</th>
					<th>操作</th>
				</tr>
			</thead>
			<foreach name="list" item="item">
			<tr>
<!-- 				<td><input type="checkbox" class="J_check" data-yid="J_check_y" data-xid="J_check_x" name="ids[]" value="{$item.id}" ></td> -->
				<td>{$item.id}</td>
				<td>{$item.open_id}</td>
				<td>{$item.username}</td>
				<td>{$item.mobile}</td>
				<td ><if condition="$item['headerimg']"><img src="{$item.headerimg}" style="width：60px; height: 60px;"/></if></td>
				<td >{$item.select_city}</td>
				<td >{$item.created|date="Y-m-d H:i:s",###}</td>
				<td >
					<a href="{:U('/Admin/User/clearBind/id/'.$item['id'])}">解除绑定</a>
				</td>
			</tr>
			</foreach>
			<tfoot>
				<tr>
<!-- 					<th width="15"><label><input type="checkbox" class="J_check_all" data-direction="x" data-checklist="J_check_x"></label></th> -->
					<th>用户编号</th>
					<th>用户OpenId</th>
					<th>用户名</th>
					<th>手机号</th>
					<th>个人头像</th>
					<th>绑定城市</th>
					<th>注册时间</th>
					<th>操作</th>
				</tr>
			</tfoot>
		</table>
<!-- 		<div class="table-actions"> -->
<!-- 			<button class="btn btn-primary btn-small J_ajax_submit_btn" type="submit"  -->
<!-- 			data-action="{:U('/Admin/User/delete')}" data-subcheck="true" data-msg="你确定删除吗？">删除</button> -->
<!-- 		</div> -->
		<div class="pagination">{$Page}</div>
	</form>
	<script src="__ADMIN__/statics/js/common.js"></script>
</body>
</html>